package com.duomn.mybatis.plugins.model;

import java.util.List;

/**
 * 解析的结果
 * @author duomn.hu
 *
 */
public class ParsedStatement {

	/** 多条语句的执行策略 */
	private ExecuteMode mode;
	
	/** 生成的多条语句 */
	private List<String> sqls;

	/** 是否需要走分表 */
	private boolean sharding = true; // 默认走分表

	public ExecuteMode getMode() {
		return mode;
	}

	public void setMode(ExecuteMode mode) {
		this.mode = mode;
	}

	public List<String> getSqls() {
		return sqls;
	}

	public void setSqls(List<String> sqls) {
		this.sqls = sqls;
	}

	public boolean isSharding() {
		return sharding;
	}

	public void setSharding(boolean sharding) {
		this.sharding = sharding;
	}

}
